package com.grantz.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.grantz.model.bbs.DiscussModel;

@FeignClient(value = "bbs")
public interface DiscussFeign {

	@PutMapping(value = "/api/v1/discusses")
	public ResponseEntity<?>  save(@RequestBody DiscussModel model);
}
